package com.crazyzoo.Lue;

public class WinnieThePooh {
    private String id;
    private String name;
    private String colour;
    private String habitat;
    private String favoriteFood;
    private String petPhrase;
    private String friend;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getHabitat() {
        return habitat;
    }

    public void setHabitat(String habitat) {
        this.habitat = habitat;
    }

    public String getFavoriteFood() {
        return favoriteFood;
    }

    public void setFavoriteFood(String favoriteFood) {
        this.favoriteFood = favoriteFood;
    }

    public String getPetPhrase() {
        return petPhrase;
    }

    public void setPetPhrase(String petPhrase) {
        this.petPhrase = petPhrase;
    }

    public String getFriend() {
        return friend;
    }

    public void setFriend(String friend) {
        this.friend = friend;
    }

    @Override
    public String toString() {
        return  "-------------------------------------" + '\n' +
                "动物类名：WinnieThePooh" + '\n' +
                "动物id：" + id + '\n' +
                "动物名称：" + name + '\n' +
                "动物颜色：" + colour + '\n' +
                "动物栖息地：" + habitat + '\n' +
                "动物喜欢的食物：'" + favoriteFood + '\n' +
                "动物的口头禅：" + petPhrase + '\n' +
                "动物的朋友：" + friend + '\n';
    }

    public void speak() {System.out.println("今天的早餐是什么？");}
    }

